<template>
	<view class="content">
		
		<fei-calendar-select-dialog v-if="selectDateShow" :defaultDate="defaultDate"
				@close="selectDateShow=false" @confirm="confirmDate"></fei-calendar-select-dialog>
		
	</view>
</template>

<script>
	import FeiCalendarSelectDialog from  "./fei-calendar-select-dialog.vue";
	export default {
		data() {
			return {
				selectDateShow:true,
				defaultDate:"",
				defaultDay:"2024-09-09",
			}
		},
		components:{
			FeiCalendarSelectDialog
		},
		methods: {
			dateChange(val){
				console.log(val);
				this.defaultDate = `${val.year}-${val.month}-01 00:01:01`;
			},
			confirmDate(val){
				console.log(val);
			}
			
		}
	}
</script>